import request from '@/utils/request'
import $qs from 'qs'
export function agentSaveSetting(params) {
    return request({
      url: '/agentSaveSetting',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function agentGetSetting(params) {
    return request({
      url: '/agentGetSetting',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function saveAgentUser(params) {
    return request({
      url: '/saveAgentUser',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getAgentUser(params) {
    return request({
      url: '/getAgentUser',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getAgentUserList(params) {
    return request({
      url: '/getAgentUserList',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getAreas(params) {
    return request({
      url: '/getAreas',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getAreasList(params) {
    return request({
      url: '/getAreasList',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function saveArea(params) {
    return request({
      url: '/saveArea',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function deleteAgentUser(params) {
    return request({
      url: '/deleteAgentUser',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getAllFinance(params) {
    return request({
      url: '/getAllFinance',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getWithdrawalFinance(params) {
    return request({
      url: '/getWithdrawalFinance',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function doWithdrawalFinance(params) {
    return request({
      url: '/doWithdrawalFinance',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function rRecord(params) {
    return request({
      url: '/rRecord',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function agentFinance(params) {
    return request({
      url: '/agentFinance',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getBusFinance(params) {
    return request({
      url: '/getBusFinance',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getAgentAll(params) {
    return request({
      url: '/getAgentAll',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function getBustAll(params) {
    return request({
      url: '/getBustAll',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function agentWithdrawalRecord(params) {
    return request({
      url: '/agentWithdrawalRecord',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function agentWithdrawalOP(params) {
    return request({
      url: '/agentWithdrawalOP',
      method: 'post',
      data: $qs.stringify(params)
    })
  }
  export function agentOnewithdrawalRecord(params) {
    return request({
      url: '/agentOnewithdrawalRecord',
      method: 'post',
      data: $qs.stringify(params)
    })
  }